<div class="row">
				<div class="col-md-12">
					<div class="panel panel-primary">
						<div class="panel-heading">
							<h4>系统设置</h4>
						</div>
						<div class="panel-body">
							<div class="tab-content">
								<div class="tab-pane active" id="domtabs">
									<div class="row">
										<div class="col-md-12">
											<div class="tab-container tab-danger">
												<ul class="nav nav-tabs">
													<li class="active"><a href="#nav-tab-1" data-toggle="tab">系统设置</a></li>
													<li><a href="#nav-tab-2" data-toggle="tab">制编号卡</a></li>
												</ul>
												<div class="tab-content">
													<!-- nav-tab-1  开始-->
													<div class="tab-pane active" id="nav-tab-1">
														<div class="row">
														    <div class="col-xs-12">
														        <div class="panel panel-midnightblue">
														            <div class="panel-body">
														                <form action="#" class="form-horizontal row-border"  data-validate="parsley"  id="form-1">
														                	{foreach $models as $v} 
														                	{if condition="$v.id==1"}
														                		<div class="form-group">
														                        <label class="col-sm-3 control-label" >{$v.pname}:</label>
															                        <div class="col-sm-6">
															                            <input type="text" name="{$v.code}" id="{$v.code}" required="required" data-type="number"   placeholder="{$v.pname}"  class="form-control" value="{$v.pvalue}">
															                        </div>
														                    	</div>
														                    {/if}
														                    {if condition="$v.id eq 2"}
														                		<div class="form-group">
														                        <label class="col-sm-3 control-label" >{$v.pname}:</label>
														                         <div class="col-sm-6">
															                        <select class="form-control"  id="{$v.code}" name="{$v.code}" >
															                        	<option value="1" >能</option>
															                        	<option value="0" {if condition="$v.pvalue eq 0" }selected{/if}>不能</option>
															                        </select>
															                     </div>
														                    	</div>
														                    {/if}
														                	
														                	{if condition="$v.id==3"}
														                		<div class="form-group">
														                        <label class="col-sm-3 control-label" >{$v.pname}:</label>
															                        <div class="col-sm-6">
															                            <input type="text"   name="{$v.code}" id="{$v.code}" required="required" data-type="number"   placeholder="{$v.pname}"  class="form-control" value="{$v.pvalue}">
															                        </div>
														                    	</div>
														                    {/if}
														                    
														                    {if condition="$v.id==4"}
														                		<div class="form-group">
														                        <label class="col-sm-3 control-label" >{$v.pname}:</label>
															                        <div class="col-sm-6">
															                            <select class="form-control"  id="{$v.code}" name="{$v.code}" >
															                        		<option value="0" >不验证</option>
															                        		<option value="1" {if condition="$v.pvalue eq 1" }selected{/if}>验证</option>
															                       		 </select>
															                        </div>
														                    	</div>
														                    {/if}
														                    
														                    {if condition="$v.id==5"}
														                		<div class="form-group">
														                        <label class="col-sm-3 control-label" >{$v.pname}:</label>
															                        <div class="col-sm-6">
															                            <select class="form-control"  id="{$v.code}" name="{$v.code}" >
															                        		<option value="0" >不验证</option>
															                        		<option value="1" {if condition="$v.pvalue eq 1" }selected{/if}>验证</option>
															                       		 </select>
															                        </div>
														                    	</div>
														                    {/if}
														                    
														                    {if condition="$v.id==6"}
														                		<div class="form-group">
														                        <label class="col-sm-3 control-label" >{$v.pname}:</label>
															                        <div class="col-sm-6">
															                            <select class="form-control"  id="{$v.code}" name="{$v.code}" >
															                        		<option value="0" >不开启</option>
															                        		<option value="1" {if condition="$v.pvalue eq 1" }selected{/if}>开启</option>
															                       		 </select>
															                        </div>
														                    	</div>
														                    {/if}
														                    
														                    {if condition="$v.id==7"}
														                		<div class="form-group">
														                        <label class="col-sm-3 control-label" >{$v.pname}:</label>
															                        <div class="col-sm-6">
															                            <select class="form-control"  id="{$v.code}" name="{$v.code}" >
															                        		<option value="0" >不开启</option>
															                        		<option value="1" {if condition="$v.pvalue eq 1" }selected{/if}>开启</option>
															                       		 </select>
															                        </div>
														                    	</div>
														                    {/if}
														                    
														                    {/foreach}
														                    <div class="row">
														                    <div class="col-sm-6 col-sm-offset-3">
														                        <div class="btn-toolbar">
														                            <button class="btn-primary btn" id="form-submits">提交</button>
														                        </div>
														                    </div>
														           		    </div>
														                </form>
														            </div>
														        </div>
														    </div>
														</div>
												    </div>
													<!-- nav-tab-1 结束-->
													<!-- nav-tab-2开始-->
			              							<div class="tab-pane" id="nav-tab-2">
			              								<div class="row">
														    <div class="col-xs-12">
														        <div class="panel panel-midnightblue">
														            <div class="panel-heading"><h4>制编号卡</h4></div>
														            <div class="panel-body">
														                <form action="" class="form-horizontal row-border"  data-validate="parsley" id="validate-form1">
														                    <div class="form-group">
														                        <label class="col-sm-3 control-label" for="type">请选择:</label>
														                        <div class="col-sm-6">
														                       		<select id="card_sex" class="form-control" >
														                       			<option value="0">女</option>
														                       			<option value="1">男</option>
														                       			<option value="2">C区</option>
														                       			<option value="3">D区</option>
														                       			<option value="4">E区</option>
														                       			<option value="5">F区</option>
														                       			<option value="6">G区</option>
														                       		</select> 	
														                        </div>
														                    </div>
														                     <div class="form-group" >
														                    		<label class="col-sm-3 control-label" >编号:</label>
														                    		<div class="col-sm-6">
														                    			<input type="text" placeholder="编号"  data-min="0" data-max="999"  data-type="digits"  required="required" id="card_num" class="form-control"/>
														                    		</div>
														                    </div>
														                </form>
														            </div>
														            <div class="panel-footer">
														                <div class="row">
														                    <div class="col-sm-6 col-sm-offset-3">
														                        <div class="btn-toolbar">
														                            <button class="btn-primary btn" id="form-submit1">制卡</button>
														                        </div>
														                    </div>
														                </div>
														            </div>
														        </div>
														    </div>
														</div>
			              							</div>
													<!-- nav-tab-2结束-->
							  					</div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
<script type='text/javascript' src='{$Think.ADMIN_VIEW_JS}system_set/index.js'></script>
